Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidate existing pull-to-refresh spinner when theme changes #7351

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

rolandcrosby
Copy link
Contributor

Fixes #7339

Currently, the pull-to-refresh spinner can remain the wrong color after the theme changes. I don't know enough about React Native to understand why the existing RefreshControl doesn't get invalidated when its tintColor and titleColor props change, but setting a key seems to fix this.

BeforeAfter
2025-01-02.23-25-17.mov
2025-01-03.21-41-17.mov

@rolandcrosby rolandcrosby changed the title Invalidate existing pull-to-refresh spinner when dark mode changes Invalidate existing pull-to-refresh spinner when theme changes Jan 4, 2025
Copy link
Member

@mozzius mozzius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, thanks

@mozzius mozzius merged commit c564981 into bluesky-social:main Jan 8, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pull-to-refresh spinner color doesn't change when dark mode is toggled
2 participants